package com.lvmama.search.spider.config;

public class FetchResult {

	private ContentFetchConfig contentFetchConfig;
	
	private int statusCode=-1;
	
	private String content;
	
	private boolean isError;

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public boolean isError() {
		return isError;
	}

	public void setError(boolean isError) {
		this.isError = isError;
	}

	public ContentFetchConfig getContentFetchConfig() {
		return contentFetchConfig;
	}

	public void setContentFetchConfig(ContentFetchConfig contentFetchConfig) {
		this.contentFetchConfig = contentFetchConfig;
	}

	@Override
	public String toString() {
		return "FetchResult [statusCode=" + statusCode + ", isError=" + isError + "]";
	}
	
	
}
